package com.ltkj.ticket.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 景区门票基础对象 tic_scenic
 * 
 * @author ruoyi
 * @date 2023-08-30
 */
@ApiModel(value = "景区门票基础")
public class TicScenic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景区门票ID */
    @ApiModelProperty("景区门票ID")
    private Long scenicId;

    /** 门票名称 */
    @Excel(name = "门票名称")
    @ApiModelProperty("门票名称")
    private String scenicName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String scenicPhone;

    /** 有效时间开始 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "有效时间开始", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("有效时间开始")
    private Date effectiveTimeStart;

    /** 有效时间结束 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "有效时间结束", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("有效时间结束")
    private Date effectiveTimeEnd;

    /** 标签 */
    @Excel(name = "标签")
    @ApiModelProperty("标签")
    private String scenicLabel;

    /** 限购数量 */
    @Excel(name = "限购数量")
    @ApiModelProperty("限购数量")
    private Long limitPurchaseNum;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String scenicStatus;

    /** 数据状态 */
    @Excel(name = "数据状态")
    @ApiModelProperty("数据状态")
    private String isDel;

    /** 其他基础信息 */
    @Excel(name = "其他基础信息")
    @ApiModelProperty("其他基础信息")
    private Long ticOtherId;

    /** 认证方式 */
    @Excel(name = "认证方式")
    @ApiModelProperty("认证方式")
    private String scenicAuth;

    public void setScenicId(Long scenicId) 
    {
        this.scenicId = scenicId;
    }

    public Long getScenicId() 
    {
        return scenicId;
    }
    public void setScenicName(String scenicName) 
    {
        this.scenicName = scenicName;
    }

    public String getScenicName() 
    {
        return scenicName;
    }
    public void setScenicPhone(String scenicPhone) 
    {
        this.scenicPhone = scenicPhone;
    }

    public String getScenicPhone() 
    {
        return scenicPhone;
    }
    public void setEffectiveTimeStart(Date effectiveTimeStart) 
    {
        this.effectiveTimeStart = effectiveTimeStart;
    }

    public Date getEffectiveTimeStart() 
    {
        return effectiveTimeStart;
    }
    public void setEffectiveTimeEnd(Date effectiveTimeEnd) 
    {
        this.effectiveTimeEnd = effectiveTimeEnd;
    }

    public Date getEffectiveTimeEnd() 
    {
        return effectiveTimeEnd;
    }
    public void setScenicLabel(String scenicLabel) 
    {
        this.scenicLabel = scenicLabel;
    }

    public String getScenicLabel() 
    {
        return scenicLabel;
    }
    public void setLimitPurchaseNum(Long limitPurchaseNum) 
    {
        this.limitPurchaseNum = limitPurchaseNum;
    }

    public Long getLimitPurchaseNum() 
    {
        return limitPurchaseNum;
    }
    public void setScenicStatus(String scenicStatus) 
    {
        this.scenicStatus = scenicStatus;
    }

    public String getScenicStatus() 
    {
        return scenicStatus;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setTicOtherId(Long ticOtherId) 
    {
        this.ticOtherId = ticOtherId;
    }

    public Long getTicOtherId() 
    {
        return ticOtherId;
    }
    public void setScenicAuth(String scenicAuth) 
    {
        this.scenicAuth = scenicAuth;
    }

    public String getScenicAuth() 
    {
        return scenicAuth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenicId", getScenicId())
            .append("scenicName", getScenicName())
            .append("scenicPhone", getScenicPhone())
            .append("effectiveTimeStart", getEffectiveTimeStart())
            .append("effectiveTimeEnd", getEffectiveTimeEnd())
            .append("scenicLabel", getScenicLabel())
            .append("limitPurchaseNum", getLimitPurchaseNum())
            .append("scenicStatus", getScenicStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("ticOtherId", getTicOtherId())
            .append("scenicAuth", getScenicAuth())
            .toString();
    }
}
